package com.wzxl.utils;

/**
 * @author rxbyes
 * @version V1.0
 * @package com.wzxl.utils
 * @description: TODO (平台常量类)
 * @date 2017-11-下午3:25
 */
public class ConstantUtils {

    /**
     * 系统标示，无业务限制，需要使用时即可调用，方便常量池管理
     */
    public final static String STRING_ZERO = "0";

    /**
     * 用户登陆类型
     */
    public final static String USER_LOGIN_TYPE = "loginType";

    /**
     * 登录 URL
     */
    public final static String LOGIN__SHIRO_URL_FILTER = "/login";

    /**
     * 退出 URL
     */
    public final static String LOGOUT__SHIRO_URL_FILTER = "/logout";


    /**
     * 最大值
     */
    public final static String MAX = "max";

    /**
     * 存储域集合
     */
    public final static String LIST_ENTITY = "list";
    /**
     * 存储域实体
     */
    public final static String MODEL = "model";

    /**
     * 用户初始密码重置
     */
    public final static String INITIAL_PASSWORD = "1111";


    /**
     * 当前登陆用户信息
     */
    public final static String USER_SESSION = "USER_SESSION";


    public final static String STRING_ONE = "1";

    public final static String STRING_TWO = "2";

    public final static String STRING_THREE = "3";

    public final static String STRING_FOUR = "4";

    public final static String STRING_FIVE = "5";

    public final static String STRING_SIX = "6";

    public final static String STRING_SEVEN = "7";

    public final static String STRING_EIGHT = "8";

    public final static String STRING_NINE = "9";

    public final static String STRING_TEN = "10";



    public final static String ERROR_MESSAGE = "error";

    public final static Integer INTEGER_ZERO = 0;

    public final static Integer INTEGER_ONE = 1;

    public final static Integer INTEGER_TWO = 2;

    public final static Integer INTEGER_FOUR = 4;

    public final static Integer INTEGER_FIFTEEN = 15;


    public final static Long LONG_ZERO = 0L;

    public final static Long LONG_ONE = 1L;

    public final static Long LONG_TWO = 2L;

    public final static Long LONG_THREE = 3L;

    public final static Long LONG_FOUR = 4L;

    public final static Long LONG_FIVE = 5L;

    public final static Long LONG_SIX = 6L;

    public final static Long LONG_SEVEN = 7L;

    public final static Long LONG_EIGHT = 8L;

    public final static Long LONG_NINE = 9L;

    public final static Long LONG_TEN = 10L;

    public final static Long LONG_FOURTEEN = 14L;

    public final static Long LONG_ELEVEN = 11L;

    public final static Long LONG_TWELVE = 12L;

    public final static Long LONG_THIRTEEN = 13L;

    public final static Long LONG_EIGHTEEN = 18L;

    public final static Long LONG_THIRTY_THREE = 33L;

    public final static Long LONG_CHANGE_TIME = 35L;

    /**
     * 缓存共享
     */
    public final static String SHIRO_REDIS_CACHE = "shiro_redis_cache:";

    /**
     * session共享
     */
    public final static String SHIRO_REDIS_SESSION = "shiro_redis_session:";
}
